import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  // 获取表格数据
  queryOptionLifeList: (query) => api.post(`${config.interfaces.type5}portfolio-server/option/otc-option-book-main/queryOptionLifeList`, query),
  // 事件执行
  updateOptionStatus: (query) => api.get(`${config.interfaces.type5}portfolio-server/option/otc-option-book-main/updateOptionStatus`, query),
};
